package cn.doourbest.learnspring.dao;

import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

public interface LearnSpringMapper {


    @Select("select * from student where name =#{name} limit 0 offset 10")
    public List<Map<String,Object>> getDataSource(String name);


    @Update("update student set name = 'zsc' where id = 6")
    public int updateInfo();
    /**
     *@Description: 
     * * @param null
     *@return: 
     *@Author: zhangsc
     *@date: 2019/10/18
    */
    public String getAge(String id,String name);
}
